tar xf ${DOWNLOADDIR}/lua-5.4.8.tar.gz -C ${BUILDDIR}
pushd ${BUILDDIR}/lua-5.4.8
    sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h
    make MYCFLAGS="-fPIC" linux ${JOBS}
    make INSTALL_TOP=${SYSDIR}/cross-tools \
         INSTALL_LIB=${SYSDIR}/cross-tools/lib64 \
         INSTALL_MAN=${SYSDIR}/cross-tools/share/man/man1 install
popd
